package com.zhu.storesmanager.network;

import android.content.Context;

/**
 * APK下载更新监听
 */
public interface DownloadProgressListener {
    public abstract void onDownloadStart(Context context, String _id,
            long bytesSoFar, long totalBytes);

    public abstract void onDownloadComplete(Context context, String _id,
            String path, boolean success, boolean interrupted);

    public abstract void onUpdateProgress(Context context, String _id,
            long bytesSoFar, long totalBytes);
}
